package com.rd.student.jiaji.class4.suyan.zrrd.day12;

public enum WeekDayyy {
    SUN(0),MON(1),TUE(2),WED(3),THU(4),FRI(5),SAT(6);
    private final int num;
   private WeekDayyy(int num){
        this.num=num;
    }
    public static void main(String[] args) {
        WeekDayyy dayyy=WeekDayyy.SUN;
        System.out.println(dayyy==WeekDayyy.SUN);
        System.out.println(dayyy.equals(WeekDayyy.SUN));
       /* switch (dayyy){
            case MON:
            case THU:
            case WED:
            default:
        }


        */
    }
}
